package com.relytosoft.mizar.analyze.algorithm.base.service;

import com.relytosoft.mizar.analyze.base.entity.pojo.base.BaseAlgoDataReq;

/**
 * @author wss
 * @version 1.0
 * @date 2022/5/13 10:11
 */
public interface StructureService<DataReq extends BaseAlgoDataReq, StatusReq extends BaseAlgoDataReq> {

    /**
     * 接受上报数据
     *
     * @return
     */
    Boolean receiveData(DataReq dataReq);

    /**
     * 接受上报状态
     *
     * @return
     */
    Boolean receiveStatus(StatusReq statusReq);
}
